class RemoveGalleryTypesFromItemsModelAndAddPriceListReference < ActiveRecord::Migration
  def self.up
    remove_column :items, :for_sports_gallery
    remove_column :items, :for_purchase_gallery
    add_column    :items, :price_list_id, :integer
  end

  def self.down
    add_column    :items, :for_sports_gallery,   :boolean
    add_column    :items, :for_purchase_gallery, :boolean
    remove_column :items, :price_list_id
  end
end
